package cn.xorange.commons.system.service.System;


import cn.xorange.commons.core.basic.service.IBaseService;
import cn.xorange.commons.system.entity.system.SysUser;
import cn.xorange.commons.system.entity.system.SysUserRole;

import java.util.List;
import java.util.Set;

/**
 * @author : yangjian
 * date : 2022/2/3
 * description :
 */
public interface ISysUserService extends IBaseService<SysUser> {

    void setUserRoleIds(SysUser sysUser);

    int resetPassword(SysUser sysUser);

    List<Long> getUserPostIds(long userId);

    List<Long> getUserRoleIds(long userId);

    int updateAvatar(long userId,String avatarPath);


}
